package com.design.structure.bridge.atguigu;

/**
 * @ProjectName: design
 * @Package: com.design.structure.bridge.atguigu
 * @ClassName: UpRightPhone
 * @Author: shenaiguo
 * @Description: 直立式手机
 * @Date: 2020/9/2 0002 20:14
 */
// 步骤 4
public class UpRightPhone extends Phone {
    //构造器
    public UpRightPhone(Brand brand) {
        super(brand);
    }


    public void open() {
        super.open();
        System.out.println(" 直立样式手机 ");
    }


    public void close() {
        super.close();
        System.out.println(" 直立样式手机 ");
    }


    public void call() {
        super.call();
        System.out.println(" 直立样式手机 ");
    }
}
